﻿<Window x:Class="Gao.Poker.App.Win.AddMemberWin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:UserControls="clr-namespace:Gao.Poker.App.UserControls"
        Title="新增会员" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
    <Grid Margin="0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="7*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="40.73"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Border BorderBrush="White" BorderThickness="0,1" Margin="0,1,0,0" Grid.ColumnSpan="2">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#A1C7CFDA" Offset="0.991"/>
                    <GradientStop Color="#B5F1F1F1"/>
                    <GradientStop Color="#FFD2D2D2" Offset="1"/>
                </LinearGradientBrush>
            </Border.Background>
        </Border>
        <Button Content="新增会员" Name="btnNew" HorizontalAlignment="Left" Margin="0,8.865,0,8.865" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="0" Grid.ColumnSpan="2"/>
        <!--<Button Content="会员充值" HorizontalAlignment="Left" Margin="116,8.865,0,8.865" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="0" Grid.ColumnSpan="2"/>
        <Button Content="修改会员" HorizontalAlignment="Left" Margin="236,8.865,0,8.865" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="0" Grid.ColumnSpan="2"/>
        <Button Content="会员管理" HorizontalAlignment="Left" Margin="356,8.865,0,8.865" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="0" Grid.ColumnSpan="2"/>-->
        <!--<Border BorderBrush="#CCFFFFFF" BorderThickness="1,0,0,0" HorizontalAlignment="Left" Margin="346,7.372,0,7.25" Width="2.5" Background="#FFB6B6B6" Grid.Column="0" Grid.ColumnSpan="2"/>-->
        <!--<Border BorderBrush="#CCFFFFFF" BorderThickness="1,0,0,0" HorizontalAlignment="Left" Margin="226,7.372,0,7.25" Width="2.5" Background="#FFB6B6B6" Grid.Column="0" Grid.ColumnSpan="2"/>-->
        <Border BorderBrush="#CCFFFFFF" BorderThickness="1,0,0,0" HorizontalAlignment="Left" Margin="107.75,7.372,0,7.25" Width="2.5" Background="#FFB6B6B6" Grid.Column="0" Grid.ColumnSpan="2"/>
        <DockPanel Margin="0" Grid.Column="0" Grid.Row="1">
            <ListView Name="listView" Margin="0,0,0,0" DockPanel.Dock="Top" ItemsSource="{Binding Path=Members}" SelectedItem="{Binding Path=Member}"
              VirtualizingStackPanel.VirtualizationMode="Recycling">
                <ListView.View>
                    <GridView>
                        <GridViewColumn Header="卡号" Width="90" DisplayMemberBinding="{Binding CardNo}"/>
                        <GridViewColumn Header="姓名" Width="60" DisplayMemberBinding="{Binding Name}"/>
                        <GridViewColumn Header="积分" Width="100" DisplayMemberBinding="{Binding Points}"/>
                    </GridView>
                </ListView.View>
            </ListView>
        </DockPanel>
        <DockPanel Name="content" Grid.Column="1" Grid.Row="1" Margin="0">
            <UserControls:MemberEdit DockPanel.Dock="Top" Margin="0"/>
        </DockPanel>
    </Grid>
</Window>
